package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.AttrEntity;
import com.gulimall.product.vo.AttrResVo;
import com.gulimall.product.vo.AttrVo;

import java.util.Map;

/**
 * 商品属性
 *
 * @author lubin
 * @email lubinyx@163.com
 * @date 2021-11-02 15:15:23
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attrVo);

    PageUtils queryAttrBasePage(Map<String, Object> params, Long catelogId, String attrType);

    AttrResVo getAttrInfo(Long attrId);

    void updateAttr(AttrVo attrVo);
}

